﻿@model Guline.Web.CentralModels.Object.CApp
@{
    ViewBag.Title = @Guline.Web.CentralLanguages.Main.lblCreateApp;
    Layout = "~/Areas/App/Views/Shared/_DashboardLayout.cshtml";
}
<span class="s_title_body_right">@ViewBag.Title</span>
<div class="s_content_body_right" style="text-align:center">
@using (Html.BeginForm())
{
    <table border="0"  style="display:inline-block">
        <col style="width:25%">
        <col style="width:75%">
        <tr class="div_filed">
            <td class="td_right">@Guline.Web.CentralLanguages.Main.lblAppName</td>
            <td class="td_left">
                @Html.TextBoxFor(m => m.Name)
                <span class="msg">@Html.ValidationMessageFor(m => m.Name)</span>
            </td>
        </tr>
        <tr class="div_filed">
            <td class="td_right">@Guline.Web.CentralLanguages.Main.lblDescription</td>
            <td class="td_left">
                @Html.TextAreaFor(m => m.Description, new { @class = "noteSMS" })
                <span class="msg">@Html.ValidationMessageFor(m => m.Description)</span>
            </td>
        </tr>
        @*<tr class="div_filed">
                <td>Khóa truy cập</td>
                <td>
                    @Html.TextBoxFor(m => m.Accesskey)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Accesskey)</span>
                </td>
            </tr>
            <tr class="div_filed">
                <td>Khóa bí mật</td>
                <td>
                    @Html.EditorFor(m => m.Secretkey)
                    <span class="msg">@Html.ValidationMessageFor(m => m.Secretkey)</span>
                </td>
            </tr>*@
        @*<tr class="div_filed">
                <td>Tài khoản</td>
                <td>
                    @Html.DropDownList("AccountID", "---==== Select Account ====---")
                    <span class="msg">@Html.ValidationMessageFor(m => m.AccountID)</span>
                </td>
            </tr>*@
    </table>
    <div class="submit">
        <input type="submit" value="@Guline.Web.CentralLanguages.Main.lblCreate" class="btn_submit center" />
        <a href="@Url.Action("Index")" class="center s_cancel">@Guline.Web.CentralLanguages.Main.lblCancel</a>
    </div>
}
    </div>
    
